cmake_minimum_required(VERSION 3.10)
project(shared_library C)

set(CMAKE_C_STANDARD 99)

add_library(hello_library SHARED src/Hello.c)
add_library(hello::library ALIAS hello_library)
target_include_directories(hello_library PUBLIC ${PROJECT_SOURCE_DIR}/include)



add_executable(shared_library src/main.c)

target_link_libraries(shared_library PRIVATE hello::library)